package com.jsh.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import javax.servlet.http.HttpServletRequest;

@FeignClient(name = "jsh-system",contextId = "logApi",path = "/jshERP-boot/api/logApi")
public interface LogApi {

    @GetMapping("/insertLog")
    void insertLog(@RequestParam("moduleName") String moduleName,
                          @RequestParam("content") String content,
                          @RequestParam("request") HttpServletRequest request);

}
